/**
 * Copyright &copy; 2012-2016 <a href="https://github.com/thinkgem/jeesite">JeeSite</a> All rights reserved.
 */
package com.yuhanginfo.modules.sys.dao;

import java.util.List;

import com.yuhanginfo.common.persistence.CrudDao;
import com.yuhanginfo.common.persistence.annotation.MyBatisDao;
import com.yuhanginfo.modules.sys.entity.GoodsCombStore;
import com.yuhanginfo.modules.sys.entity.GoodsCombo;
import com.yuhanginfo.modules.sys.entity.Store;

/**
 * 套餐门店DAO接口
 * @author lvls
 * @version 2017-11-15
 */
@MyBatisDao
public interface GoodsCombStoreDao extends CrudDao<GoodsCombStore> {

	List<Store> selectStoreByGoodsComboCode(String code);

	List<GoodsCombStore> selectOldByGoodsComboCode(String code);

	void setHistoryByGoodsComboCode(GoodsCombo goodsCombo);

	void deleteByGoodsCombo(GoodsCombo goodsCombo);
}